﻿using System;
using System.Windows;

namespace Jacobi.Seesmic.FeedReader.PluginSettingsView
{
    /// <summary>
    /// Manages the settings view resources.
    /// </summary>
    internal static class PluginSettingsViews
    {
        /// <summary>
        /// The resource dictionary loaded from internal resources.
        /// </summary>
        private static readonly ResourceDictionary _templates = new ResourceDictionary
        {
            Source = new Uri("/Jacobi.Seesmic.FeedReader;component/PluginSettingsView/PluginSettingsView.xaml", UriKind.Relative)
        };

        /// <summary>
        /// Gets the <see cref="DataTemplate"/> for the settings view.
        /// </summary>
        public static DataTemplate DefaultView
        {
            get { return (DataTemplate)_templates["DefaultSettingsView"]; }
        }

        /// <summary>
        /// Gets the <see cref="DataTemplate"/> for the small feed image.
        /// </summary>
        public static DataTemplate SmallFeedImage
        {
            get { return (DataTemplate)_templates["SmallFeedImage"]; }
        }
    }
}